-
Notifications
You must be signed in to change notification settings - Fork 37
add verbosity levels arguments #206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Thanks for your PR! I've approved CI run, unit tests are failing. |
|
Should be good to go now. I've also adjusted the way the error is passed via |
|
@ikamensh The CI is blocked again. |
|
unblocked :) |
|
Ran |
|
CI still failing. So pre-commit passed locally? surprising. |
|
Indeed. pre-commit did not flag any issue. I've manually ran |
Adds multiple
-varguments to control the level of verbosity.Technically, the amount of "
-v" could be leveraged for even finer WARN/INFO/DEBUG levels, but I assumed the typical intent when using a single-vwould be INFO. WARN and above is like omitting them, which only report problem cases.Using multiple
-v(regardless of the amount for now) enables DEBUG logs.The
AssertionErroris used to log such as DEBUG log.More could be added for actual debugging, but it is not the case currently.
Same behavior as before using the
-vvarguments (can use-v -v,-v=2,--verbose=2, etc. as well).New behavior when only a single
-vis provided.We can now see actual errors more clearly!